    <div class="main-content" id="main-content">
            <div class="sub-content">
				<div class="top-header">
					<h1>User Profile</h1>
				</div><br/><br/>
			<div class="middle-forms user-profile1">
				<form id="signupForm" name="signupForm"  method="post">
						<div class="sub-forms">
							<div class="forms-list">
								<label>Company Name</label>
								<input  type="text" readonly id="cname" name="cname" value="<?php if(isset($data->company_name)){ echo $data->company_name;} ?>" placeholder="Company Name"> 
							</div>
							<div class="forms-list">
								<label>Industry</label>
								<input  type="text" id="industry" name="industry" value="<?php if(isset($data->industry)){ echo $data->industry;} ?>" placeholder="Industry"> 
							</div>
							<div class="forms-list">
								<label>Address 1</label>
								<input  type="text" id="address1" name="address1" value="<?php if(isset($data->address1)){ echo $data->address1;} ?>" placeholder="Industry"> 
							</div>
						    <div class="forms-list">
								<label>Address 2</label>
								<input  type="text" id="address2" name="address2" value="<?php if(isset($data->address2)){ echo $data->address2;} ?>" placeholder="Industry">
							</div>
							<div class="forms-list">
								<label>Address 3</label>
								<input  type="text" id="address3" name="address3" value="<?php if(isset($data->address3)){ echo $data->address3;} ?>" placeholder="Industry">
							</div>
							<div class="forms-list">
								<label>Landmark Near By</label>
								<input  type="text" id="lmnear" name="lmnear" value="<?php if(isset($data->landmarknearby)){ echo $data->landmarknearby;} ?>" placeholder="Landmark Near By" />
							</div>
							<div class="forms-list">
								<label>City</label>
								<input  type="text" id="city" name="city"  value="<?php if(isset($data->city)){ echo $data->city;} ?>" placeholder="Please enter city"/>
							</div>
							<div class="forms-list">
								<label>Country</label>
								<input  type="text" id="country" name="country"  value="<?php if(isset($data->usercountry)){ echo $data->usercountry;} ?>" placeholder="Please enter country"/>
							</div>
							</div><span id="errorcountry" style='color:red';></span>
							<div class="forms-list">
								<label>Email</label>
								<input  type="text" id="email" name="email" value="<?php if(isset($data->email)){ echo $data->email;} ?>" placeholder="Email" />
							</div><span style="color:red" id="erroremail"></span>
							<div class="forms-list">
								<label>Phone </label>
								<input  type="text" id="phone" name="phone" value="<?php if(isset($data->phone)){ echo $data->phone;} ?>" placeholder="Phone" />
							</div><span style="color:red" id="errorphone"></span>
							<div class="forms-list">
								<label>Fax </label>
								<input  type="text" id="fax" name="fax" value="<?php if(isset($data->fax)){ echo $data->fax;} ?>" placeholder="Fax" />
							</div>
							<div class="forms-list">
								<label>Contact Person 1</label>
								<input  type="text" id="cperson" name="cperson" value="<?php if(isset($data->contact_person)){ echo $data->contact_person;} ?>" placeholder="Contact Person 1"> 
							</div>
					<div class="forms-list">
						<label>Mobile No</label>
						<input  type="text" id="mobile" name="mobile" value="<?php if(isset($data->mobile)){ echo $data->mobile;} ?>" placeholder="mobile No" />
					</div>
					<div class="forms-list">
						<label>Email Address</label>
						<input  type="text" id="email" name="email" value="<?php if(isset($data->second_email)){ echo $data->second_email;} ?>" placeholder="Email" />
					</div></span>
				    <div class="forms-list">
						<label>Bank Address</label>
						<input  type="text" id="baddress" name="baddress" value="<?php if(isset($data->bankaddress)){ echo $data->bankaddress;} ?>" placeholder="Bank Address" />
					</div>
					<div class="forms-list">
						<label>Account No</label>
						<input  type="text" id="acno" name="acno" value="<?php if(isset($data->account_number)){ echo $data->account_number;} ?>" placeholder="Account No" />
					</div><span style="color:red" id="erroracno"></span>
					<div class="forms-list">
						<label>Note</label>
						<input  type="text" id="note" name="note" value="<?php if(isset($data->note)){ echo $data->note;} ?>" placeholder="Note" />
					</div>
					<div class="forms-list">
						<label>User Type</label>
						<input  type="text" id="type" name="type" value="<?php if(isset($data->user_type)){ echo $data->user_type;} ?>" placeholder="Type" />
						<br/>
					</div>
					<div class="forms-list">
						<label>Status</label>
						<input  type="text" id="status" name="status" value="<?php 
						if(isset($data->u_status)){ if($data->u_status=='0'){ echo 'Pending';}else if($data->u_status=='1'){ echo 'Active';}else if($data->u_status=='2'){ echo 'In Active';} } ?>" placeholder="Status" />
					</div>
					<div class="forms-list">
						<button  id="continue" onclick="return validate();">BACK</button>
					</div>
				</form>
            </div>
        </div>
    </div>	
<script type="text/javascript">
	function validate(){
	 $("#signupForm").submit();
	}
</script>

`		

        